package org.example.petitionplatformsystem.service;


import org.example.petitionplatformsystem.dao.model.Authentication;

import java.util.List;

public interface AuthenticationService {
    public Authentication AddAuthentication(Authentication authentication);
    public void DeleteAuthentication(long AuthenticationId);
    public Authentication UpdateAuthentication(Authentication d);
    public List<Authentication> GetAllAuthentication();

    public Authentication GetUsersByID(String IdCardNumber);
    public Authentication GetAuthenticationByUserId(long userId);
}
